package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsBrand;
import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;
import com.qf.vo.CategorySellAmts;
import com.qf.vo.CategorySellVo;

import java.util.List;

public interface CategoryService {
    public IPage<DtsCategory> queryCategoryPage(Integer id, String name, Integer page,
                                                Integer limit, String sort, String order);
    public  DtsCategory add(DtsCategory category) ;

    public  DtsCategory update(DtsCategory category);
    public void deleted(DtsCategory category);
    List<CatVo> categoryList();
//    CategorySellVo categorySell();

    Integer[] findcategoryIds(Integer defaultCategoryId);

}
